package com.xzj.admin.boot.domain.entity;

import com.xzj.common.core.domain.entity.BaseEntity;
import com.xzj.common.secure.annotation.XzjEncrypt;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;

/**
 * @program: xzj-admin
 * @ClassName: SysUser
 * @description: 用户表;
 * @author: XiaZunJun
 * @create: 2024-7-30
 */
@Schema(name = "用户表",description = "")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysUser extends BaseEntity implements Serializable{


    /** 用户名 */
    @Schema(name = "account",description = "用户名")
    private String account ;


    /** 昵称 */
    @Schema(name = "nickName",description = "昵称")
    private String nickName ;


    /** 邮箱 */
    @Schema(name = "email",description = "邮箱")
    private String email ;


    /** 密码 */
    @Schema(name = "pwd",description = "密码")
    @XzjEncrypt
    private String pwd ;


    /** 所属部门 */
    @Schema(name = "dept",description = "所属部门")
    private String dept ;


    /** 用户id */
    @Schema(name = "userId",description = "用户id")
    private String userId;


    /** 状态（启用1/停用0） */
    @Schema(name = "status",description = "状态（启用1/停用0）")
    private String status ;

    /** 图标 */
    @Schema(name = "avatar",description = "图标")
    private String avatar ;


    /** 手机号码 */
    @Schema(name = "mobile",description = "手机号码")
    private String mobile ;
}